package com.heima.search.service;

import com.heima.model.search.dtos.UserSearchDto;
import com.heima.search.entity.ApAssociateWords;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 联想词表 服务类
 * </p>
 *
 * @author heima
 * @since 2021-03-27
 */
public interface IApAssociateWordsService extends IService<ApAssociateWords> {
    /**
     * 查询搜索关键词的联想词列表
     */
    List<ApAssociateWords> findAssociateList(UserSearchDto dto);
    /**
     * 查询搜索关键词的联想词列表 优化版
     */
    List<ApAssociateWords> findAssociateListV2(UserSearchDto dto);
}
